package la.iok.hzsvn.lewin.movie.service;

import la.iok.hzsvn.share.annotations.NotNull;
import la.iok.hzsvn.share.annotations.Nullable;
import la.iok.hzsvn.share.dfs.model.DfsDescriptor;
import la.iok.hzsvn.share.dfs.service.DfsService;

import javax.servlet.http.HttpServletResponse;

public interface WebDfsService extends DfsService {
    /**
     * http下载文件
     * @param response 客户端响应
     * @param descriptor 文件描述
     * @param fileName 文件名
     */
    @NotNull
    void downloadFile(@NotNull HttpServletResponse response, @NotNull DfsDescriptor descriptor, @Nullable String fileName);
}
